package yunplus.io.hchome.display.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.EditText;

import yunplus.io.hchome.R;

/**
 * Created by dxq on 2017/6/25.
 */

public class AddDeviceActivity extends BaseActivity implements View.OnClickListener {

    EditText mEdtName, mEdtAddress, mEdtPort, mEdtUserNme, mPasswd;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_add_device);
        mEdtName = (EditText)findViewById(R.id.edt_name);
        mEdtAddress = (EditText)findViewById(R.id.edt_address);
        mEdtPort = (EditText)findViewById(R.id.edt_port);
        mEdtUserNme = (EditText)findViewById(R.id.edt_user_name);
        mPasswd = (EditText)findViewById(R.id.edt_passwd);

        findViewById(R.id.btn_preview).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_preview:

                break;
        }
    }
}
